/*
 * @Description: string
 * @Author: klisit
 * @Date: 2021-01-10 17:09:58
 * @LastEditTime: 2021-01-10 17:41:11
 * @LastEditors: klisit
 */
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  @Get('/version')
  getVersion(): string {
    return this.appService.getVersion();
  }
}
